package com.zsj.service_user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsj
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AppGoods对象", description="")
public class AppGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Long goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品描述")
    private String goodsDescription;

    @ApiModelProperty(value = "商品是谁上架的，属于谁的")
    private String goodsBelongToUser;

    @ApiModelProperty(value = "商品上架时间")
    private String goodsCreateTime;

    @ApiModelProperty(value = "商品是否已经售出，0售出，1未售出")
    private Integer goodsIsSell;

    @ApiModelProperty(value = "商品是否已经不存在，0为存在，1为不存在")
    private Integer goodsIsDeleted;

    @ApiModelProperty(value = "商品是否推荐购买，0为推荐，1为不推荐")
    private Integer goodsIsRecommend;

    @ApiModelProperty(value = "商品类型")
    private String goodsType;

    @ApiModelProperty(value = "商品图片链接")
    //todo 需要将图片上传到阿里云oss 前端进行图片的上传之后  然后后端保存之后加入的数据的该字段中
    private String goodsImage;



}
